<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Article extends Model
{
    //自定义表名
    protected $table = 'article';
    //不使用自带的时间
    public $timestamps = false;
    //自定义可以更新的字段
    protected $fillable = [
    	'typeid','istop','title','coverpic','description','keyword','content','senddate','pageview','sort','status'
    ];
}
